﻿@{
    ViewBag.Title = "参数配置";
}
@model DTcms.Model.feedbackconfig
<form id="form1" class="layui-form" url="InstallSave?id=@ViewBag.id">
    @Html.AntiForgeryToken()
    <!--导航栏-->
    <div class="pageheader">
        <div class="page-bar">
            <ul class="page-breadcrumb">
                <li><a href="javascript:history.back(-1);" class="back"><i class="fa fa-mail-reply-all"></i> 返回上一页</a></li>
                <li><a href="javascript:;"><i class="iconfont icon-home1"></i> 首页</a> </li>
                <li><a href="javascript:;">插件管理</a> </li>
                <li><a href="javascript:;">在线留言</a> </li>
                <li><a href="javascript:;">参数配置</a> </li>
            </ul>
        </div>
    </div>
    <!--/导航栏-->
    <!--内容-->
    <div class="layui-fluid">
        <div class="layui-tab layui-tab-card">
            <ul class="layui-tab-title" id="floatHead">
                <li class="layui-this">参数配置</li>
            </ul>
            <div class="layui-tab-content">
                <div class="layui-tab-item layui-show">
                    <div class="layui-form-item">
                        <label class="layui-form-label">留言内容通知</label>
                        <div class="layui-input-block">
                            @Html.RadioButton("bookmsg", 0, Model.bookmsg == 0, new { title = "关闭通知" })
                            @Html.RadioButton("bookmsg", 1, Model.bookmsg == 1, new { title = "短信通知" })
                            @Html.RadioButton("bookmsg", 2, Model.bookmsg == 2, new { title = "邮件通知" })
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">模板别名</label>
                        <div class="layui-input-block">
                            @Html.TextBox("booktemplet", Model.booktemplet, new { @class = "input normal", datatype = "*", sucmsg = " " })
                            <span class="Validform_checktip">*通知模板调用别名</span>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">接收邮箱或手机</label>
                        <div class="layui-input-block">
                            @Html.TextBox("receive", Model.receive, new { @class = "input normal", datatype = "*", sucmsg = " " })
                            <span class="Validform_checktip">*多个以分号隔开</span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--/内容-->
    <!--工具栏-->
    <div class="page-footer">
        <div class="btn-wrap">
            <button class="layui-btn icon-btn" id="btnSubmit"><i class="layui-icon layui-icon-ok"></i>提交保存</button>
            <button class="layui-btn layui-btn-warm icon-btn" name="btnReturn" onclick="javascript:history.back(-1);"><i class="layui-icon layui-icon-return"></i>返回上一页</button>
        </div>
    </div>
    <!--/工具栏-->
</form>
@section Scripts{
    <script type="text/javascript">
        layui.use(['validform', 'element', 'jqueryform'], function () {
            //初始化表单验证
            $("#form1").initValidform('#btnSubmit', 1);
        });
    </script>
}